Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds exponential backoff to MQTT #563

Merged
merged 4 commits into from
Feb 15, 2018
Merged

Adds exponential backoff to MQTT #563

merged 4 commits into from
Feb 15, 2018

Conversation

gguuss
Copy link
Contributor

@gguuss gguuss commented Feb 8, 2018

No description provided.

@codecov
Copy link

codecov bot commented Feb 8, 2018

Codecov Report

Merging #563 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #563   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           1      1           
  Lines           3      3           
=====================================
  Hits            3      3

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2523dfc...7a33989. Read the comment docs.

@gguuss gguuss self-assigned this Feb 9, 2018
@gguuss gguuss requested review from jmdobry and ace-n and removed request for ace-n February 9, 2018 20:37
@gguuss gguuss removed their assignment Feb 9, 2018
@gguuss
Copy link
Contributor Author

gguuss commented Feb 15, 2018

@jmdobry PTAL or I can just merge, I had to refactor a little to keep the tests green.

@@ -122,18 +137,42 @@ function createJwt (projectId, privateKeyFile, algorithm) {
// messageCount.
// [START iot_mqtt_publish]
function publishAsync (messageCount, numMessages) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

messageCount and numMessages are basically synonymous, which one is used for what? Otherwise LGTM

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@gguuss gguuss merged commit b61580b into master Feb 15, 2018
@gguuss gguuss deleted the iot-mqtt-backoff branch February 15, 2018 23:16
grayside pushed a commit that referenced this pull request Oct 26, 2022
grayside pushed a commit that referenced this pull request Nov 3, 2022
ace-n pushed a commit that referenced this pull request Nov 11, 2022
- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 408439482

Source-Link: googleapis/googleapis@b9f6184

Source-Link: https://github.com/googleapis/googleapis-gen/commit/eb888bc214efc7bf43bf4634b470254565a659a5
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZWI4ODhiYzIxNGVmYzdiZjQzYmY0NjM0YjQ3MDI1NDU2NWE2NTlhNSJ9
ace-n pushed a commit that referenced this pull request Nov 11, 2022
- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 408439482

Source-Link: googleapis/googleapis@b9f6184

Source-Link: https://github.com/googleapis/googleapis-gen/commit/eb888bc214efc7bf43bf4634b470254565a659a5
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZWI4ODhiYzIxNGVmYzdiZjQzYmY0NjM0YjQ3MDI1NDU2NWE2NTlhNSJ9
ace-n pushed a commit that referenced this pull request Nov 14, 2022
- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 408439482

Source-Link: googleapis/googleapis@b9f6184

Source-Link: https://github.com/googleapis/googleapis-gen/commit/eb888bc214efc7bf43bf4634b470254565a659a5
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZWI4ODhiYzIxNGVmYzdiZjQzYmY0NjM0YjQ3MDI1NDU2NWE2NTlhNSJ9
ace-n pushed a commit that referenced this pull request Nov 15, 2022
- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 408439482

Source-Link: googleapis/googleapis@b9f6184

Source-Link: https://github.com/googleapis/googleapis-gen/commit/eb888bc214efc7bf43bf4634b470254565a659a5
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZWI4ODhiYzIxNGVmYzdiZjQzYmY0NjM0YjQ3MDI1NDU2NWE2NTlhNSJ9
ace-n pushed a commit that referenced this pull request Nov 15, 2022
- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 408439482

Source-Link: googleapis/googleapis@b9f6184

Source-Link: https://github.com/googleapis/googleapis-gen/commit/eb888bc214efc7bf43bf4634b470254565a659a5
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZWI4ODhiYzIxNGVmYzdiZjQzYmY0NjM0YjQ3MDI1NDU2NWE2NTlhNSJ9
ace-n pushed a commit that referenced this pull request Nov 17, 2022
- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 408439482

Source-Link: googleapis/googleapis@b9f6184

Source-Link: https://github.com/googleapis/googleapis-gen/commit/eb888bc214efc7bf43bf4634b470254565a659a5
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZWI4ODhiYzIxNGVmYzdiZjQzYmY0NjM0YjQ3MDI1NDU2NWE2NTlhNSJ9
ace-n pushed a commit that referenced this pull request Nov 17, 2022
- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 408439482

Source-Link: googleapis/googleapis@b9f6184

Source-Link: https://github.com/googleapis/googleapis-gen/commit/eb888bc214efc7bf43bf4634b470254565a659a5
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZWI4ODhiYzIxNGVmYzdiZjQzYmY0NjM0YjQ3MDI1NDU2NWE2NTlhNSJ9
ahrarmonsur pushed a commit that referenced this pull request Nov 17, 2022
- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 408439482

Source-Link: googleapis/googleapis@b9f6184

Source-Link: https://github.com/googleapis/googleapis-gen/commit/eb888bc214efc7bf43bf4634b470254565a659a5
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZWI4ODhiYzIxNGVmYzdiZjQzYmY0NjM0YjQ3MDI1NDU2NWE2NTlhNSJ9
ahrarmonsur pushed a commit that referenced this pull request Nov 18, 2022
* remove dialogflow_delete_document region tag and code

* remove dialogflow_delete_knowledge_base  region tag and code

* remove dialogflow_detect_intent_with_model_selection region tag and code

* remove dialogflow_get_document region tag and code

* remove dialogflow_get_knowledge_base region tag and code

* remove dialogflow_list_document region tag and code

* remove dialogflow_list_knowledge_base region tag and code

* remove dialogflow_quickstart code

* delete all dialogflow_create* region tags and code

* remove dialogflow_delete* region tags and code

* remove dialogflow_list* region tags and code

* clean up comment span delimiters for deleted code

* Update detect.v2beta1.js

* Update detect.v2beta1.js

* Update resource.js

* Update detect.v2beta1.test.js

* Update resource.test.js

* Update detect.v2beta1.js

* docs: remove broken yargs commands from sample deletes

* Create create-document.v2beta1.test.js

* Create create-intent.test.js

* Create create-knowledge-base.v2beta1.test.js

* Create create-session-entity-type.test.js

* Create delete-intent.test.js

* Create delete-session-entity-type.test.js

* Update detect.v2beta1.test.js

* Create list-session-entity-types.test.js

* Update detect.v2beta1.js

* Delete resource.test.js

Co-authored-by: Your Name <you@example.com>
Co-authored-by: Noah Negrey <nnegrey@users.noreply.github.com>
Co-authored-by: Benjamin E. Coe <bencoe@google.com>
ahrarmonsur pushed a commit that referenced this pull request Nov 18, 2022
* remove dialogflow_delete_document region tag and code

* remove dialogflow_delete_knowledge_base  region tag and code

* remove dialogflow_detect_intent_with_model_selection region tag and code

* remove dialogflow_get_document region tag and code

* remove dialogflow_get_knowledge_base region tag and code

* remove dialogflow_list_document region tag and code

* remove dialogflow_list_knowledge_base region tag and code

* remove dialogflow_quickstart code

* delete all dialogflow_create* region tags and code

* remove dialogflow_delete* region tags and code

* remove dialogflow_list* region tags and code

* clean up comment span delimiters for deleted code

* Update detect.v2beta1.js

* Update detect.v2beta1.js

* Update resource.js

* Update detect.v2beta1.test.js

* Update resource.test.js

* Update detect.v2beta1.js

* docs: remove broken yargs commands from sample deletes

* Create create-document.v2beta1.test.js

* Create create-intent.test.js

* Create create-knowledge-base.v2beta1.test.js

* Create create-session-entity-type.test.js

* Create delete-intent.test.js

* Create delete-session-entity-type.test.js

* Update detect.v2beta1.test.js

* Create list-session-entity-types.test.js

* Update detect.v2beta1.js

* Delete resource.test.js

Co-authored-by: Your Name <you@example.com>
Co-authored-by: Noah Negrey <nnegrey@users.noreply.github.com>
Co-authored-by: Benjamin E. Coe <bencoe@google.com>
NimJay pushed a commit that referenced this pull request Nov 18, 2022
* remove dialogflow_delete_document region tag and code

* remove dialogflow_delete_knowledge_base  region tag and code

* remove dialogflow_detect_intent_with_model_selection region tag and code

* remove dialogflow_get_document region tag and code

* remove dialogflow_get_knowledge_base region tag and code

* remove dialogflow_list_document region tag and code

* remove dialogflow_list_knowledge_base region tag and code

* remove dialogflow_quickstart code

* delete all dialogflow_create* region tags and code

* remove dialogflow_delete* region tags and code

* remove dialogflow_list* region tags and code

* clean up comment span delimiters for deleted code

* Update detect.v2beta1.js

* Update detect.v2beta1.js

* Update resource.js

* Update detect.v2beta1.test.js

* Update resource.test.js

* Update detect.v2beta1.js

* docs: remove broken yargs commands from sample deletes

* Create create-document.v2beta1.test.js

* Create create-intent.test.js

* Create create-knowledge-base.v2beta1.test.js

* Create create-session-entity-type.test.js

* Create delete-intent.test.js

* Create delete-session-entity-type.test.js

* Update detect.v2beta1.test.js

* Create list-session-entity-types.test.js

* Update detect.v2beta1.js

* Delete resource.test.js

Co-authored-by: Your Name <you@example.com>
Co-authored-by: Noah Negrey <nnegrey@users.noreply.github.com>
Co-authored-by: Benjamin E. Coe <bencoe@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants